<!--List of Items -->  
   <h2 class="tableLabel"> Items </h2>      
  <table width="100%" border="1" cellspacing="3" cellpadding="3">        
  <tr>
    <td width="5%"><h3>Position</h3></td>
    <td width="20%"><h3>Name</h3></td>
    <td width="55%"><h3>Description</h3></td>
    <td width="10%"><h3>Checked-Out</h3></td>
    <td width="10%"><h3>Edit</h3></td>
  </tr>
  <?php for ($i=0; $i<$number_of_items; $i++){ ?>
  <tr>
    <td><?php echo $items[$i]['position']; ?></td>
    <td><?php echo $items[$i]['itemName']; ?></td>
    <td><?php echo $items[$i]['description']; ?></td>
    <td><input name="checkedOut" type="checkbox" value="1" <?php echo ($items[$i]['checkedOut']==1 ? 'checked="checked"' : '');?> /></td>
    <td><a href="EditItemForm.php?itemId=<?php echo $items[$i]['itemId']; ?>&amp;dbId=<?php echo urlencode($_GET['dbId']); ?>&amp;name=<?php echo $items[$i]['itemName']; ?>&amp;id=<?php echo $_GET['id'];?>&amp;parentName=<?php echo $_GET['name'];?>">Edit</a></td>
  </tr><?php } ?>  
</table>